import { defineComponent, h } from "vue";

export default defineComponent({
  name: "TitanRender",
  props: {
    render: {
      type: Function,
      default: function () {
        // do nothing
      },
    },
    data: {
      type: [String, Array, Number],
      default: "",
    },
  },
  setup(props) {
    return () => props.render(h, props.data);
  },
});
